Several page allocations, done in the hypervisor when starting an HVM
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 19 May 2006 15:10:52 +0000 (16:10 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 19 May 2006 15:10:52 +0000 (16:10 +0100)
commit573e986d56c848a3e8901f30ad7740c92d1ed23b
tree5010852b65c55b11e078abeb8446ef66442c50fe
parent37d3005e6271fa2c613f466068d6c0f38943c754
Several page allocations, done in the hypervisor when starting an HVM
domain, are not checked.  This can cause the physical machine to crash
when starting the HVM domain during low-memory conditions.

Kudos to Charles Arnold for catching the problem with
shadow_direct_map_init.

Signed-off-by: Charles Coffing <ccoffing@novell.com>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/svm/vmcb.c